/* 
 * File:   Pixel.h
 * Author: User007
 *
 * Created on August 11, 2011, 1:55 AM
 */

#ifndef PIXEL_H
#define	PIXEL_H

class Pixel {
public:
    Pixel();   
    Pixel(const Pixel& orig);
    virtual ~Pixel(); 
    void setPixel(int x, int y, int valor, int label);
    int GetLabel() const {
        return label;
    }

    void SetLabel(int label) {
        this->label = label;
    }

    int GetValor() const {
        return valor;
    }

    void SetValor(int valor) {
        this->valor = valor;
    }

    int GetX() const {
        return x;
    }

    void SetX(int x) {
        this->x = x;
    }

    int GetY() const {
        return y;
    }

    void SetY(int y) {
        this->y = y;
    }

private:
    int x;
    int y;
    int label;
    int valor;
};

#endif	/* PIXEL_H */

